﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ECare.BUS.Data
{
   public  class ModuleInfo
    {
       public ModuleInfo()
       {
           this.ImageIndex = -1;
           this.Size = ItemSize.Wide;
           this.groupName = "main";
       }

       public int ModuleId { get; set; }
       
       public string ModuleName { get; set; }
       
       public int ModuleParentId { get; set; }
       
       public string frmType { get; set; }

       public List<ModuleInfo> Children { get; set; }

       public string Module_Icon { get; set; }

       public ItemSize Size { get; set; }
        
       public int ImageIndex { get; set; }

       public string groupName { get; set; }
       public string controlName { get; set; }

       public System.Drawing.Color BackColor { get; set; }
       public System.Drawing.Color BackColor2 { get; set; }
       public System.Drawing.Color BorderColor { get; set; }
    }

    public enum ItemSize
    {
        Small,
        Medinum,
        Large,
        Wide
    }
}
